package com.eight.travel.service;

import com.eight.travel.pojo.Hotel;
import com.eight.travel.utils.BaseResp;

import java.util.Date;
import java.util.List;

public interface HotelService {
    //搜索的模糊查询
    BaseResp findbylike(String name);
    //查询全部酒店
    BaseResp findAll();

    //    热度排序
    BaseResp finhotelhot(String hot);
    //
    BaseResp finhotelstart(String address,Integer start);
    BaseResp findhotelprice(String address);
    BaseResp outroom(Integer uid,String number);
    BaseResp youhui(Integer uid,String address);
//    查看酒店评论
    BaseResp ViewCom(Integer hid);

    //用户提交评论
    BaseResp subCom(String com,Integer oid);

    BaseResp endOrdestime(Integer oid);

}
